package com.crud.service;

import com.crud.entity.Emp;

import java.util.List;
import java.util.Map;

/**
 * @author hyh
 * @date 2023/06/29 18:34:30
 */
public interface EmpService {
    List<Emp> findAll(Integer pageNum,Integer pageSize);

    int save(Emp emp);

    int delete(Integer id);

    int update(Emp emp);
    List<Emp> findByOther(Map<String ,String> map);
}
